GrowthRate

@Serializable
data class GrowthRate(val id: Int, val name: String, val formula: String, val descriptions: List<Description>, val levels: List<GrowthRateExperienceLevel>, val pokemonSpecies: List<Handle.Named<PokemonSpecies>>) : NamedModel(source)

Growth rates determine how much experience Pokémon need to level up. See: https://pokeapi.co/docs/v2#growthrates

Parameters

id

The identifier for this growth rate resource.

name

The name for this growth rate resource.

formula

The formula used to calculate the rate at which the Pokémon levels up.

descriptions

The descriptions for this growth rate listed in different languages.

levels

A list of levels and the experience needed to reach them.

pokemonSpecies

A list of Pokémon species that have this growth rate.

Constructors

Link copied to clipboard
constructor(id: Int, name: String, formula: String, descriptions: List<Description>, levels: List<GrowthRateExperienceLevel>, pokemonSpecies: List<Handle.Named<PokemonSpecies>>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val id: Int
Link copied to clipboard
Link copied to clipboard
open override val name: String